import { Request } from "@/views/util/request";
//获取菜单列表
function getDeviceNotice(data){
    return Request.get('/garbageSys/gg/list')
}
//添加公告
function addDeviceNotice(data){
    return Request.post('/garbageSys/gg/insert',data)
}
//编辑公告
function updateDeviceNotice(data){
    return Request.put('/garbageSys/gg/update',data)
}
export {getDeviceNotice,addDeviceNotice,updateDeviceNotice}